$(function(){
	$(document).on("click","#navs a",function(e){
		e.preventDefault();
		var $navs = $(this),currentName;
		if(!$navs.attr("class")){
			$("#navs a").removeClass("current");
			$navs.addClass("current");
			currentName = $navs.parent('li').attr("class");
			if (currentName == 'basic') {
				$(".content-inner").html('<div class="item"><div class="item-lable">邮箱：</div><div class="item-content">qhtde0825@163.com</div></div><div class="item"><div class="item-lable">用户名：</div><div class="item-content">qhtde0825</div></div><hr>');
			}
			else{
				$(".content-inner").html('<div class="item"><div class="item-lable">旧密码：</div><div class="item-content"><input type="text" name="old-pwd" /></div></div><div class="item"><div class="item-lable">新密码：</div><div class="item-content"><input type="text" name="new-pwd" /></div></div><hr>');
				}
		}
	});
});